package org.easy.tool.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.easy.tool.entity.Problem;
import org.easy.tool.entity.UserProblem;
import org.easy.tool.entity.UserProblemDetail;

import java.util.List;

/**
 * @author Valley
 * Created by Valley on 2023/8/30 15:15
 */
public interface IUserProblemDetail extends IService<UserProblemDetail> {

    /**
     * 功能：某个用户题目正确记录
     */
    List<UserProblemDetail> rightProblemList(String userId, String problemId);

    /**
     * 功能：某个用户题目错误题目记录列表
     */
    List<UserProblemDetail> wrongProblemList(String userId, String problemId);

}
